package com.stars.home.model

import com.trailer.base.inter.IModel

/**
 * 客户端-订单详情
 *
 *on 2021/1/18
 * status：--状态:-1=待支付，0=已取消,1=等待接单,2=已接单,3=到达发货点,4=赶往目的地,5=确认到达,6=已完成
 * payment 支付类型:0全款,1=到付,2=付定金
 * type 0普通货主的订单 ，1平台订单，2服务商订单，3服务商转普通低订单
 * （平台，服务商，服务商转普通的话；是没有聊天用户的；只能打电话；）
 */
data class CompreDetailsBean(var id: String,
                             var user_id:String,
                             var driver_user_id:String,
                             var order_id:String,
                             var status:Int,var order_amount:String,
                             var actual_amount:String,
                             var  start_lat:String,
                             var start_lng:String, var end_lat:String, var end_lng:String,
                             var consignor_name:String,var consignor_mobile:String,
                             var receiving_name:String,var receiving_mobile:String,
                             var start_address:String, var start_position:String,
                             var end_address:String, var end_position:String,
                             var payment:Int,var payment_amount:String,
                             var payment_status:String,var remarks:String,
                             var start_driving_time:String,
                             var end_driving_time:String,
                             var createtime:String,
                             var duration:String,
                             var wait_time:String,
                             var describe:String,
                             var describe1:String,
                             var datas:List<DatasBean>?,
                             var driver:DriverBean?,
                             var user_im_id:String?,
                             var user_im_pwd:String?,
                             var user_avatar:String?,
                             var user_username:String,
                             var type:Int,
                             var service_pic:String,//认证的时候传递的确认图片

                             ) : IModel {

    data class DriverBean(var id:String,var username:String,var avatar:String,
    var mobile:String,var vehicle_name:String,var vehicle_avatar:String,
                          var im_pwd:String,var im_id:String,
    var plate_number:String,var lng:String,var lat:String){

    }

    data class DatasBean(var id:String,var lat:String,var lng:String,var distance:String):IModel{

    }
}
